#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int board(int n, int m,signed char** b)
{
	for (int i = 0; i < n; i++)
	{
		for (int j = 0; j < m; j++)
		{
			b[i][j] = '*';
		}
	}
	b[n][m] = 1;
	return 0;
}
horse(int h1,int h2,signed char** b)
{
	b[h1][h2] = -1;
	if()
	return 0;
}
int main()
{
	signed char B[20][20] = { 0 };
	int n = 0;
	int m = 0;
	int h1 = 0, h2 = 0;
	scanf("%d%d", &n, &m);
	scanf("%d%d", &h1, &h2);
	board(n, m,B);
	horse(h1,h2,B);
	find();
	return 0;
}